import openai

openai.api_key = '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'

def run_conversation():
    response = openai.Translation.create(
        model="text-davinci-003",
        text="Hello, how are you?",
        target_language="es"
    )

    return response.translations[0].translation

if __name__ == '__main__':
    print(run_conversation())